package com.ssm.mapper;

import com.ssm.hj.search.GroupClassificationSearch;
import com.ssm.hj.view.GroupClassificationView;
import com.ssm.pojo.GroupClassification;
import com.ssm.pojo.TExamination;
import com.ssm.pojo.Tjsc;
import com.ssm.pojo.User;

import java.util.List;

public interface GroupClassificationMapper {
    //阿杰 查询已体检和问卷进行健康干预
    List<GroupClassificationView> queryGroupClassificationAll(GroupClassificationSearch groupClassificationSearch) throws Exception;
    //阿杰 档案号查询该会员基本信息
    GroupClassificationView queryByFileNumber(int id) throws Exception;
    //阿杰 档案号查询体检信息
    List<Tjsc> queryByIdTest(int id) throws Exception;
    //阿杰 查询所有健康管理师
    List<User> queryHealthManager() throws Exception;
    //阿杰 查询人群分类是否分类
    int queryGroupClassificationById(int id) throws Exception;
    //阿杰 新增人群分类
    int saveGroupClassification(GroupClassification groupClassification) throws Exception;
    //阿杰 修改人群分类
    int updateGroupClassification(GroupClassification groupClassification) throws Exception;
    //阿杰 查询体检图片信息
    List<TExamination> queryTExaminationById(int id) throws Exception;
}
